package cn.xopencode.recordservice.rpc.kvoperation;

import cn.xopencode.common.framework.vo.CommonResult;
import cn.xopencode.common.framework.vo.PageResult;
import cn.xopencode.recordservice.rpc.kvoperation.dto.KvOpertionRecordCreateDTO;
import cn.xopencode.recordservice.rpc.kvoperation.dto.KvOpertionRecordDTO;
import cn.xopencode.recordservice.rpc.kvoperation.vo.KvOpertionRecordPageVO;
import cn.xopencode.recordservice.rpc.kvoperation.vo.KvOpertionRecordVO;

/**
 * 10KV操作室巡检记录  RPC
 */
public interface KvOpertionRecordRpc {

    /**
     * 新增10KV操作室巡检记录
     *
     * @param createDTO
     * @return
     */
    CommonResult<Integer> createKvOpertionRecord(KvOpertionRecordCreateDTO createDTO);

    /**
     * 获得10KV变操作室压器巡检记录分页
     *
     * @param pageDTO
     * @return
     */
    CommonResult<PageResult<KvOpertionRecordPageVO>> pageKvOpertionRecord(KvOpertionRecordDTO pageDTO);

    /**
     * 根据记录获取10KV操作室巡检记录
     * @param id
     * @return
     */
    CommonResult<KvOpertionRecordVO> getKvOpertionRecordById(String id);
}
